<html><head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta content="text/javascript" http-equiv="content-script-type">
<title>tango.util.log.PropertyConfigurator</title>

<link rel="stylesheet" type="text/css" href="css/style.css">
<!--[if lt IE 7]><link rel="stylesheet" type="text/css" href="css/ie56hack.css"><![endif]-->
<script language="JavaScript" src="js/util.js" type="text/javascript"></script>
<script language="JavaScript" src="js/tree.js" type="text/javascript"></script>
<script language="JavaScript" src="js/explorer.js" type="text/javascript"></script>
<script>
function anchorFromTitle(title, path, ext) {
  var url = path + title + "." + ext;
  document.write("<a href='" + url + "'>" + title + "</a>");
  }
</script>
</head><body>
<div id="tabarea"></div><div id="explorerclient"></div>
<div id="content"><script>explorer.initialize("tango.util.log.PropertyConfigurator");</script>
        <table class="content">
                <tr><td id="docbody"><h1><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/util/log/PropertyConfigurator.d?rev=3461">tango.util.log.PropertyConfigurator</a></h1>
                
<b>License:</b><br>
BSD style: see <a href="http://www.dsource.org/projects/tango/wiki/LibraryLicense">license.txt</a><br><br>
<b>Version:</b><br>
Nov 2005: split from Configurator.d<br><br>
<b>verison:</b><br>Feb 2007: removed default console configuration<br><br>
<b>author:</b><br>Kris<br><br>
<dl>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl"><li>struct <span class="currsymbol"><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/util/log/PropertyConfigurator.d?rev=3461#L34">PropertyConfigurator</a></span>
<script>explorer.outline.addDecl('PropertyConfigurator');</script>;</li></span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>
<font color="black">A utility class for initializing the basic behaviour of the
        default logging hierarchy.</font><br><br>
<font color="black">PropertyConfigurator parses a much simplified version of the 
        property file. tango.log only supports the settings of Logger 
        levels at this time; setup of Appenders and Layouts are currently 
        done "in the code"<br><br></font><br><br>
<dl>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl"><li>void <span class="currsymbol"><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/util/log/PropertyConfigurator.d?rev=3461#L62">opCall</a></span>
<script>explorer.outline.addDecl('opCall');</script>(FilePath <span class="funcparam">path</span>); [static]</li></span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>
<font color="black">Add a default StdioAppender, with a SimpleTimerLayout, to 
                the root node. The activity levels of all nodes are set
                via a property file with name=value pairs specified in the
                following format:</font><br><br>
<b>name:</b><br>the actual logger name, in dot notation
                          format. The name "root" is reserved to
                          match the root logger node.<br><br>
<b>value:</b><br>one of TRACE, INFO, WARN, ERROR, FATAL
                          or NONE &#40;or the lowercase equivalents&#41;.<br><br>                For example, the declaration<br><br>                <pre class="d_code">

                <span class="i">tango</span>.<span class="k">unittest</span> = <span class="i">INFO</span>
                <span class="i">myApp</span>.<span class="i">SocketActivity</span> = <span class="i">TRACE</span>
                
</pre>
                
                sets the level of the loggers called tango.unittest and
                myApp.SocketActivity<br><br></dd></dl></dd></dl></td></tr>
                <tr><td id="docfooter">
                        Copyright (c) 2004 Kris Bell. All rights reserved :: page rendered by CandyDoc. Generated by <a href="http://code.google.com/p/dil">dil</a> on Sun Jun  8 17:12:54 2008.
                </td></tr>
        </table>
</div>
<script></script>
</body></html>